package org.opens.javaskill.reflex;

import lombok.Data;

@Data
public class ReflexObjectDemo {

    public static int v1 = 1;

    private static String s1 = "s111";

    private Integer id;

    private String name;

    public ReflexObjectDemo() {
    }

    protected ReflexObjectDemo(Integer id) {
        this.id = id;
    }

    private ReflexObjectDemo(Integer id, String name) {
        this.id = id;
        this.name = name;
    }

    public void sayHello() {
        System.out.println("hello world!");
    }

}
